import { tagList, tagList1 } from "../utils/constant";

const list = [
  { num: 10 },
  { type: "success", num: 20 },
  { type: "danger", num: 30 },
  { type: "warning", num: 50 },
];

export const huo = [
  {
    name: "1元沙土瓜子",
    thumbnail:
      "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.alicdn.com%2Fimgextra%2Fi2%2F1606013534%2FTB2H7tlXpXXXXXoXFXXXXXXXXXX_%21%211606013534.jpg&refer=http%3A%2F%2Fimg.alicdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1699339254&t=422a50553e5f2dd8ba9d228a9e7e3f6d",
    price: "0.8",
    tagList: list,
    unit: "个",
  },
  // {
  // 	name: '1元多种口味瓜子',
  // 	thumbnail: 'https://i.hd-r.cn/4607d1b3694540748c6747051408f72d.jpg',
  // 	btnType: "btn",
  // 	children: [{ name: "蜜汁" }, { name: "核桃" }, { name: "小黑" },
  // 	{ name: "红枣" }, { name: "多味" }, { name: "南瓜" }],
  // 	price: '0.8',
  // 	tagList: list,
  // 	unit: '个'
  // },
  {
    name: "3元小而香",
    thumbnail:
      "https://img0.baidu.com/it/u=1499951144,3720957466&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=638",
    price: "2.4",
    tagList: list,
    unit: "个",
  },
  {
    name: "2.5元55g洽洽",
    thumbnail:
      "https://img0.baidu.com/it/u=2496563795,3800710615&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
    price: "1.9",
    tagList: list,
    unit: "个",
  },
  {
    name: "4元90g洽洽",
    thumbnail:
      "https://img1.baidu.com/it/u=4093290571,2263351493&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
    price: "3.2",
    tagList: list,
    unit: "个",
  },
  {
    name: "5元110g洽洽",
    thumbnail:
      "https://img0.baidu.com/it/u=515132686,3906799677&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
    price: "4",
    tagList: list,
    unit: "个",
  },
  {
    name: "7元160g洽洽",
    thumbnail:
      "https://img2.baidu.com/it/u=3065410065,506281405&fm=253&fmt=auto&app=138&f=PNG?w=500&h=618",
    price: "5.5",
    tagList: list,
    unit: "个",
  },
];

export const huo1 = [
  {
    name: "5元白糖",
    thumbnail:
      "https://img2.baidu.com/it/u=3959519808,4027903963&fm=253&fmt=auto&app=138&f=JPEG?w=165&h=500",
    price: "4.2",
  },
  {
    name: "5元红糖",
    thumbnail:
      "https://img1.baidu.com/it/u=160718324,2942887126&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=420",
    price: "4.2",
  },
  {
    name: "6元白冰糖",
    thumbnail:
      "https://img2.baidu.com/it/u=1112630946,535617789&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=420",
    price: "4.5",
  },
];

export const huo2 = [
  {
    name: "4元老醋花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVPET.jpg",
    thumbnail: "https://pic.imgdb.cn/item/66af932bd9c307b7e9f4f177.jpg",
  },
  {
    name: "4元香酥蚕豆",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVPET.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/b851a7ba3e1aa4c5.jpg",
  },
  {
    name: "4元香脆花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvViUU.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/b3f491a96abd6ea9.jpg",
  },
  {
    name: "4元五香花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVmK1.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/904ef9667afc5935.jpg",
  },
  {
    name: "4元麻辣花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVAC4.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/dbf9ee7c647ceabe.jpg",
  },
  {
    name: "4元雪球花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVE8J.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/c5a4536aa40c8f7c.jpg",
  },
  {
    name: "4元油炸花生",
    // thumbnail: "https://z1.ax1x.com/2023/10/08/pPvVF5F.jpg",
    thumbnail: "https://s3.bmp.ovh/imgs/2023/10/08/75ec3ea16a38c5cd.jpg",
  },
];

export const guazi = {
  name: "瓜子花生糖",
  children: [
    {
      name: "瓜子",
      defaultPrice: "",
      defaultNum: 1, // 默认个数
      defaultUnit: "袋", // 默认单位
      gg: "",
      children: huo,
      tagList,
    },
    {
      name: "花生",
      imgTag: "管退换",
      defaultPrice: "3",
      defaultNum: 1, // 默认个数
      defaultUnit: "袋", // 默认单位
      gg: "",
      children: huo2,
      tagList: tagList1,
    },
    {
      name: "袋装糖类",
      defaultPrice: "",
      defaultNum: 1, // 默认个数
      defaultUnit: "袋", // 默认单位
      gg: "",
      children: huo1,
      tagList: tagList1,
    },
  ],
};
